Page({
   data:{
     list:[
       {name:'张三',score:{miniapp:80,php:60,linux:98}},
       {name:'李四',score:{miniapp:90,php:61,linux:98}},
       {name:'王五',score:{miniapp:70,php:62,linux:98}},
       {name:'赵六',score:{miniapp:60,php:63,linux:98}},
     ],
     msg:'hello world'
   },
   click(e){
     console.log(e)
     const id=e.currentTarget.dataset.id
     wx.showToast({
       title: `${this.data.list[id].name}
       ${this.data.list[id].score.miniapp}
       ${this.data.list[id].score.linux}`
     })
   }
})